package com.svms.listner;

import javax.servlet.ServletContextEvent;
import javax.servlet.ServletContextListener;

import com.svms.web.factory.ComponentFactory;

/**
 * @author om39a
 * 
 *         This class is a Listner class. It is used to initilize load the
 *         Component Factory class for the first time
 * 
 */
public class SvmsContextLoaderListener implements ServletContextListener {

	@Override
	public void contextInitialized(ServletContextEvent sce) {
		System.out.println("## Loading SvmsContextLoaderListener....");
		System.out.println("## Component Factory Instance.... "
				+ ComponentFactory.getInstance());

	}

	@Override
	public void contextDestroyed(ServletContextEvent sce) {

	}

}
